const cheerio = require('cheerio')
const http = require('http')
const fs = require('fs')
const path = require('path')

var filePath = path.join(__dirname,'/test.html')
var fileContent = fs.readFileSync(filePath)
fileContent = fileContent.toString('utf-8')

var $ = cheerio.load(fileContent)
$('ul li').each((i,el)=>{
    // console.log($(el).text())
    console.log($(el).attr('id'))
})